{template 'common/header-cms'}
<section class="scroll">
    <!-- Swiper -->
    <div class="swiper-container swiper-container-banner">
        <div class="swiper-wrapper">
            {if !empty($mbcopyright['slides'])}
					{php $i = 1;}
					{loop $mbcopyright['slides'] $slide}
					<div class="swiper-slide">
						<img src="{php echo tomedia($slide);}" width="100%">
					</div>
					{php $i++;}
					{/loop}
			{else}					
            <div class="swiper-slide">
                <img src="./resource/mobile/images/gw-bg.jpg" width="100%">
            </div>
            {/if} 
        </div>
        <div class="swiper-pagination swiper-pagination-banner"></div>
    </div>
    <script>
        var swiper = new Swiper('.swiper-container-banner', {
            loop:true,
            autoplay: 5000,//可选选项，自动滑动
            // 如果需要分页器
            pagination: '.swiper-pagination-banner'
        });
    </script>
</section>

<section class="product">
    <div class="title">
        <a href="{php echo url('article/product-show/list');}" class="more fr">更多 >></a>
        <h2>服务项目</h2>
    </div>

    <div class="proList clearfix">
        <ul>
            {loop $product $product}
            <li>
                <a href="{php echo url('article/product-show/detail', array('id' => $product['id']));}">
                    <div class="iconbox">
                    <img src="{php echo tomedia($product['thumb']);}"/>
                    </div>
                    <h3>{$product['title']}</h3>
                    <p>{php echo cutstr_html($product['content'],'38');}</p>
                </a>
            </li>
			{/loop}
		</ul>
    </div>
</section>

<section class="news mt20">
    <div class="title">
        <a href="{php echo url('article/news-show/list');}" class="more fr">更多 >></a>
        <h2>新闻动态</h2>
    </div>
    <div class="newsLsit">
        <ul>
            {loop $news $new}
            <li>
                <small class="time fr">{php echo date('Y-m-d', $new['createtime']);}</small>
                <a href="{php echo url('article/news-show/detail', array('id' => $new['id']));}" target="_blank">{$new['title']}</a>
            </li>
			{/loop}
            </ul>   
			</div>
</section>

<section class="scroll-foot mt20">
    <div class="title">
	    <a href="{php echo url('article/case-show/list');}" class="more fr">更多 >></a>
        <h2>客户案例</h2>
    </div>

    <!-- Swiper -->
    <div class="swiper-container swiper-container-foot">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <ul>    
					{loop $case $case}				
                        <li>
                            <img src="{php echo tomedia($case['thumb']);}"/>
                            <h3>{$case['title']}</h3>
                        </li>
					{/loop}
                </ul>

            </div>
            <div class="swiper-slide">
                <ul>                                   
                {loop $case2 $case}				
                        <li>
                            <img src="{php echo tomedia($case['thumb']);}"/>
                            <h3>{$case['title']}</h3>
                        </li>
				{/loop}                                        
                </ul>
            </div>
            <div class="swiper-slide">
                <ul>                                   
                {loop $case3 $case}				
                        <li>
                            <img src="{php echo tomedia($case['thumb']);}"/>
                            <h3>{$case['title']}</h3>
                        </li>
				{/loop}                                        
                </ul>
            </div>
        </div>
        <div class="swiper-pagination swiper-pagination-foot mt10 mb10" style="position: static"></div>
    </div>
    <script>
        var swiperFoot = new Swiper('.swiper-container-foot', {
            loop:false,
            autoplay: 8000,//可选选项，自动滑动
            // 如果需要分页器
            pagination: '.swiper-pagination-foot'
        });
    </script>
</section>
{template 'common/footer-cms'}